<?php
  include "./base.php";
  $id=$_GET["id"];
  $userName=$_GET["userName"];
  $password=$_GET["password"];
  $phone=$_GET["phone"];
  $age=$_GET["age"];
  $vip=$_GET["vip"];
  $userexp=$_GET["userexp"];
  $sql="update userinfo set username = '${userName}',password = '${password}',phone='${phone}',age=${age},vip='${vip}',userexp='${userexp}'
  where uid = ${id};";
  $res = mysql_query($sql);
  print_r("修改成功！");
?>